#include "Figure.h"


Figure::Figure(void)
{
}

vector<Position*> Figure::getPoints() {
	return this->points;
}

void Figure::setPoints(vector<Position*> v) {
	this->points = v;
}

void Figure::set_position(float x, float y){
	x_position = x;
	y_position = y;
}

float Figure::getX_position(){
	return this->x_position;
}
float Figure::getY_position(){
	return this->y_position;
}
	
void Figure::setColor(std::string color){
	this->color = color;
}
std::string Figure::getColor(){
	return this->color;
}
	
void Figure::setRotation(float rotation){
	this->rotation = rotation;
}
float Figure::getRotation(){
	return this->rotation;
}

void Figure::setInitialRotation(float initialRotation) {
	this->initialRotation = initialRotation;
}

float Figure::getInitialRotation() {
	return this->initialRotation;
}
	
void Figure::setStaticFlag(bool flag){
	this->static_flag = flag;
}

bool Figure::is_static(){
	return this->static_flag;
}
	
void Figure::setMass( float mass){
	this->mass = mass;
}
float Figure::getMass(){
	return this->mass;
}

void Figure::setRGBColor(int r, int g, int b){
	this->redComponent=r;
	this->greenComponent=g;
	this->blueComponent=b;
}
int Figure::getRedComponent(){
	return this->redComponent;
}
int Figure::getGreenComponent(){
	return this->greenComponent;
}
int Figure::getBlueComponent(){
	return this->blueComponent;
}

Figure::~Figure(void)
{
}
